<include file="__THEME__/header" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>
<script type="text/javascript" src="../Public/js/miniblog.js"></script>
<div class="content_holder">
<!-- 内容 begin  --> 
<div class="content no_bg">
    <div class="wrap_index_r">
      <gt name="mid" value="0">
        <div class="right_box">
          <h2><a href="#">关注的话题</a></h2>
          <ul class="topic_list">
          	<volist id="vo" name="followTopic">
            	<li><a href="{:U('home/user/topics',array('k'=>urlencode($vo['name'])))}" title="{$vo.name}">{$vo.name}</a></li>
			</volist>
          </ul>
        </div>
      </gt>		
		
      <div class="right_box">
    	{:W('HotTopic', array('type'=>'recommend'))}
      </div>
    </div>
    <div class="wrap_index_l"> 
      <div class="tab-menu">
        <gt name="mid" value="0">
          <div class="right">
            <input name="" class="btn_b pt5" value="发微博" maxlength="30" onclick="weibo.quickpublish('')" type="button" />
          </div>
        </gt>
        <ul>
		  <li><a feed_item" href="{:U('home/user/search',array('k'=>urlencode($search_key)))}"><span>搜微博</span></a></li>
          <li><a class="on" class="feed_item" href="{:U('home/user/searchuser',array('k'=>urlencode($search_key)))}"><span>搜人({$list.count})</span></a></li>
          <li><a class="feed_item" href="{:U('home/user/searchtag',array('k'=>urlencode($search_key)))}"><span>标签</span></a></li>
        </ul>
      </div>
      <div class="Search_box">
        
        <div class="cGray2 lh30" style=" height:30px;">输入朋友的名称或昵称，如：小A</div>
        <div class="Search_bg">
          <div>
          <form action="{:U('home/user/searchuser')}" method="post"  >
            <input type="text" name="k" class="text_findUser left" style="width:485px;"
             value="{$search_key}" onfocus="if(this.value == '{$search_key}')this.value='';" onblur="if(this.value == '')this.value='{$search_key}';" 
            />
            <input class="btn_search_big" type="submit" value="搜索"/>
            </form>
          </div>
        </div>
		
        <div class="lh35" style="width:100%">
		  <php>if(empty($search_key)) {</php>
		  请输入关键字后点击搜索
		  <php>}else {</php>
		  搜索"<span class="cRed">{$search_key}</span>"找到 {$list.count}  位相关用户
		  <php>}</php>
        </div>
      </div>
      <div class="feedBox">
        <ul class="feed_list">
<volist id="vo" name="list.data">
          <li class="lineD_top">
            <div class="userPic"><space uid="vo.uid">{uavatar}</space></div>
            <div style="margin-left: 75px;" class="feed_c">
              <div style="padding-bottom: 0pt;" class="msgCnt">
                <php>if($ts['user']['uid']!=$vo['uid']){</php>
                <gt name="mid" value="0">
                  <div class="right pr10" id="follow_list_{$vo.uid}">
					<script>document.write(followState('{$vo.followState}','dolistfollow',{$vo.uid}))</script>
				  </div>
			    </gt>
			    <php>}</php>
                <space uid="vo.uid">{uname}</space>{$vo.uid|getUserGroupIcon}
              </div>
              <div style="padding-top: 5px;" class="feed_c_btm lh18">
				<php>if($vo['mini']){</php>
                <div>最近微博 {$vo.mini.ctime|friendlyDate='mohu'} </div>
                <div><a href="{:U('home/space/detail',array('id'=>$vo['mini']['weibo_id']))}">{$vo.mini.content}</a></div>
			    <php>}</php>
                <div class="pt5">
               	  {$vo.location} 
               	  <span class="pl10"> 
               		  关注<a href="{:U('home/space/follow',array('type'=>'following','uid'=>$vo['uid']))}"><strong>{$vo.following|intval}</strong></a>人
               	  </span>
               	  <span class="pl10">
               		  粉丝<a href="{:U('home/space/follow',array('type'=>'follower','uid'=>$vo['uid']))}"><strong>{$vo.follower|intval}</strong></a>人
               	  </span>
                </div>
              </div>
            </div>
          </li>
</volist>
        </ul>
      </div>
      <div class="c"></div>
      <div class="page">{$list['html']}</div>
    </div>
  <div class="clear"></div>
</div>
</div>
<!-- 内容 end --> 
<script>
  var weibo = $.weibo({
          timeStep : 60000
    });
</script>
{:Addons::hook('weibo_js_plugin')}

<include file="__THEME__/footer" /> 